package com.rtx.wcs.std.service.impl;

import java.util.List;

import org.springframework.stereotype.Service;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.rtx.api.annotation.DataSourceAnnotation;
import com.rtx.wcs.std.bean.po.TaskDetail;
import com.rtx.wcs.std.mapper.TaskDetailMapper;
import com.rtx.wcs.std.service.TaskDetailService;

@Service
public class TaskDetailServiceImpl extends ServiceImpl<TaskDetailMapper, TaskDetail> implements TaskDetailService{

	
	
	@DataSourceAnnotation
	@Override
	public List<TaskDetail> queryByCondition(String datasourckey, Wrapper<TaskDetail> query) {
		return this.list(query);
	}

	@DataSourceAnnotation
	@Override
	public void updByCondition(String datasourckey, Wrapper<TaskDetail> upd) {
		this.update(upd);
	}
}
